package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import cn.e4j.core.util.DateUtils;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author shixc
 * @since 2019-01-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAP_T")
public class GwapT extends PO<GwapT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWAPENT", type = IdType.INPUT)
    private String GWAPENT;
    private String GWAPSITE;
    private String GWAP001;
    private String GWAP002;
    private String GWAP003;
    private String GWAP004;
    private String GWAP005;
    private String GWAP006;
    private String GWAP007;
    private String GWAP008;
    private String GWAP009;
    private String GWAP010;
    private String GWAP011;
    private String GWAP012;
    private String GWAP013;
    private String GWAP100;
    private String GWAPACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWAPUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWAPGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWAPMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWAPTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = DateUtils.PATTERN_yyyy_MM_dd)
    private LocalDate GWAPDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWAPORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWAPORIU;
    private String GWAP014;


    @Override
    protected Serializable pkVal() {
        return this.GWAPENT;
    }

}
